

cc.Class({
    extends: cc.Component,

    properties: {
        labDec:cc.Label,  //投注内容
        labNumbers:cc.Label,
        _data:null,
    },

    start () {
        if(this._data != null)
        {
            this.labDec.string = this._data.dec;
            this.labNumbers.string = this._data.number;
        }
    },

    init: function(data){
        this._data = data;
    },

});
